#ifndef EXAMPLEDIAGRAMSCENE_H
#define EXAMPLEDIAGRAMSCENE_H

#include "example_basenode.h"

#include <diagramscene.h>

class ExampleDiagramScene : public DiagramScene
{
public:
    explicit ExampleDiagramScene(QMenu *itemMenu, QObject *parent = nullptr);

public:
    int mode;
    void mousePressEvent(QGraphicsSceneMouseEvent *mouseEvent);

    ExampleBaseNode* createNode(int type);
};

#endif // EXAMPLEDIAGRAMSCENE_H
